package com.wzh.activity.feign;

import com.wzh.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author WZH
 * @title: BargainFeign
 * @projectName miaosha
 * @description:
 * @date 2022/3/10
 */
@FeignClient("bargain")
public interface BargainFeign {
    @RequestMapping("bargain/bargainactivity/info/{bargainId}")
    R info(@PathVariable("bargainId") Integer bargainId);
}
